package com.pmj.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pmj.hospital.vo.req.PageReqVO;
import lombok.Data;

import java.io.Serializable;

/**
 * 药物表
 *
 * @author 庞明杰
 * @date 2020-06-01
 */
@Data
@TableName("his_drug")
public class HisDrugEntity extends PageReqVO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 药物ID
	 */
	@TableId("id")
	private String id;

	/**
	 * 创建时间
	 */
	@TableField("create_datetime")
	private String createDatetime;

	/**
	 * 药物类型  注射剂、片剂、胶囊、、、
	 */
	@TableField("drug_type")
	private String drugType;

	/**
	 * 功效分类
	 */
	@TableField("efficacy_classification")
	private String efficacyClassification;

	/**
	 * 是否限制药物
	 */
	@TableField("limit_status")
	private Integer limitStatus;

	/**
	 * 生产厂家
	 */
	@TableField("manufacturer")
	private String manufacturer;

	/**
	 * 药物名称
	 */
	@TableField("name")
	private String name;

	/**
	 * 药物编号
	 */
	@TableField("num")
	private Double num;

	/**
	 * 售价
	 */
	@TableField("price")
	private Double price;

	/**
	 * 规格：多少
	 */
	@TableField("specification")
	private String specification;

	/**
	 * 规格单位
	 */
	@TableField("unit")
	private String unit;

	/**
	 * 批发价
	 */
	@TableField("wholesale_price")
	private Double wholesalePrice;

	/**
	 * 入库量
	 */
	@TableField("storage_quantity")
	private Integer storageQuantity;

	/**
	 * 生产日期
	 */
	@TableField("production_date")
	private String productionDate;

	/**
	 * 保质日期
	 */
	@TableField("quality_date")
	private String qualityDate;


	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateDatetime() {
		return createDatetime;
	}

	public void setCreateDatetime(String createDatetime) {
		this.createDatetime = createDatetime;
	}

	public String getDrugType() {
		return drugType;
	}

	public void setDrugType(String drugType) {
		this.drugType = drugType;
	}

	public String getEfficacyClassification() {
		return efficacyClassification;
	}

	public void setEfficacyClassification(String efficacyClassification) {
		this.efficacyClassification = efficacyClassification;
	}

	public Integer getLimitStatus() {
		return limitStatus;
	}

	public void setLimitStatus(Integer limitStatus) {
		this.limitStatus = limitStatus;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getNum() {
		return num;
	}

	public void setNum(Double num) {
		this.num = num;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Double getWholesalePrice() {
		return wholesalePrice;
	}

	public void setWholesalePrice(Double wholesalePrice) {
		this.wholesalePrice = wholesalePrice;
	}

	public Integer getStorageQuantity() {
		return storageQuantity;
	}

	public void setStorageQuantity(Integer storageQuantity) {
		this.storageQuantity = storageQuantity;
	}

	public String getProductionDate() {
		return productionDate;
	}

	public void setProductionDate(String productionDate) {
		this.productionDate = productionDate;
	}

	public String getQualityDate() {
		return qualityDate;
	}

	public void setQualityDate(String qualityDate) {
		this.qualityDate = qualityDate;
	}
}
